package com.ftwj.demo.base.constant;

/**
*
* <p>Title: Const</p>  
* <p>Description: 常量池</p>
* <p>Copyright: Copyright (c) 2020 </p>  
* <p>Company: 兰州飞天网景信息产业有限公司</p>    
* @author WangSLi
* @date 2020年3月15日 下午9:18:47
* @version V1.0
 */
public interface Const {

	/**
	 * 逗号分隔符 ,
	 */
	String SEPARATOR_COMMA = ", ";
	/**
	 * 等号分隔符 =
	 */
	String SEPARATOR_EQUALS = "= ";
	/**
	 * " " 空格
	 */
	String SEPARATOR_SPACE=" ";
	/**
	 * And连接符 AND
	 */
	String CONNECTOR_AND = " AND ";
	/**
	 * OR连接符 OR
	 */
	String CONNECTOR_OR = " OR ";
	/**
	 * As连接符: AS
	 */
	String CONNECTOR_AS = " AS ";
	/**
	 * 	预编译 ? 连接符
	 */
	String CONDITION_QUESTION = "? ";
	/**
	 * 	预编译 : 连接符
	 */
	String CONDITION_COLON = ":";
	/**
	 * IS NULL
	 */
	String CONDITION_ISNULL=" IS NULL";
	/**
	 * IS NOT NULL
	 */
	String CONDITION_ISNOTNULL=" IS NOT NULL";
	/**
	 * 预编译条件连接符 =?
	 */
	String CONDITION_EQUALS="= ?";
	/**
	 * 预编译条件连接符 =?
	 */
	String CONDITION_NOTEQUALS="<> ?";
	/**
	 * 排序方式：正序ASC
	 */
	String ORDER_ASC="ASC";
	/**
	 * 排序方式：倒序DESC
	 */
	String ORDER_DESC="DESC";
	/**
	 * 排序关键字：ORDER BY
	 */
	String ORDER_BY="ORDER BY ";
	/**
	 * 分组关键字：GROUP BY
	 */
	String GROUP="GROUP BY ";
	/**
	 * 	序列化版本
	 */
	String SERIALVERSION="serialVersionUID";
	
	/**
	 * MYSQL数据库分页查询语句  LIMIT
	 */
	String MYSQL_PAGE_SQL=" LIMIT ?,? ";
	
}
